/*
 * @Author:
 * @Date: 2022-12-04 21:01:09
 * @LastEditors:
 * @LastEditTime: 2022-12-14 18:00:20
 * @FilePath: \immoka-admin\src\api\anchorManagement\anchorRating.js
 * @Description:
 *
 * Copyright (c) 2022 by  , All Rights Reserved.
 */
import request from '@/utils/request'

// 主播评级列表
export function getAllInfo(params) {
  return request({
    url: '/anchor/rateconf',
    method: 'get',
    params
  })
}

// 主播评级新增
export function rcadd(data) {
  return request({
    url: '/anchor/rcadd',
    method: 'post',
    data
  })
}

// 主播评级编辑
export function rcedit(data) {
    return request({
        url: '/anchor/rcedit',
        method: 'post',
        data
    })
}

// 主播评级删除
export function rcdel(params) {
  return request({
    url: '/anchor/rcdel',
    method: 'get',
    params
  })
}


